gotoTimeMinus5

  • function
 

Moves the youtube player to minus 5 seconds for a given time.

viewmodel.gotoTimeMinus5(time, event)

Moves the youtube player to minus 5 seconds for a given time.

Parameters

  1. time {Number}

    The time of some event.

  2. event {Event}Optional

    An optional event that's default will be prevented.

Use this in a template like:

<button ($click)="gotoTimeMinus5(stat.time,$event)">